home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / novell / fyi7 / 060612.dos < prev    next >
Text File  |  1996-07-10  |  2KB  |  43 lines

  1.             SUBJECT  : Workaround for Login Problem
  2.                DATE  : 05/30/90
  3.               FYI #  : 060490rr
  4.          OS VERSION  : n/a
  5.            REVISION  : n/a
  6.       SHELL VERSION  : 2.15 rev C
  7.  
  8. GENERAL INFORMATION  : Correct syntax in LOGIN does not execute as expected
  9.  
  10.             PROBLEM  : Consider the following LOGIN code:
  11.  
  12.                    IF MEMBER OF "MENU_USERS" THEN BEGIN
  13.                        MAP F:=SYS:MAIL\%USER_ID
  14.                        INCLUDE F:LOGIN
  15.                        #MENUGEN
  16.                        EXIT "MENU %LOGIN_NAME"
  17.                        END
  18.  
  19.                        If you are a member of the group "MENU_USERS" this
  20.                        executes correctly. However, if you are not a member
  21.                        of group "MENU_USERS", it still executes the INCLUDE
  22.                        statement, but not any of the others within the
  23.                        BEGIN - END block.
  24.  
  25.            SOLUTION  : Replace that LOGIN code with:
  26.  
  27.                    MAP F:=SYS:MAIL\%USER_ID
  28.                    IF MEMBER OF "MENU_USERS" THEN INCLUDE F:LOGIN
  29.                    IF MEMBER OF "MENU_USERS" THEN BEGIN
  30.                        #MENUGEN
  31.                        EXIT "MENU %LOGIN_NAME"
  32.                        END
  33.  
  34. COMMENTS (Optional)  : This was discovered on our in-house server
  35.  
  36. YOUR NAME AND DEPT.  : Robert Rawson - Natl Accts SE - New York (Paramus)
  37.  
  38. (Check one)
  39.  
  40.   (XX)    This information has been verified.
  41.  
  42.   (  )    This is useful information, but has not been verified.
  43.